<?php 
 $form=$this->form; 	
Application_Model_Decorator::removeAllDecorator($form);
	$cancel_url=$this->url(array(
		'module'=>'userWu',
		'controller'=>'acl',
		'action'=>'index',
	));
	$tr = Application_Form_FrmLanguages::getCurrentlanguage();
?>

<title><?php echo $tr->translate("MENU_RSVACL_ACL_ADD_ACL");?></title>
<script type="text/javascript">
	jQuery(Document).ready(function(){
		//binds form submission and fields to the validation engine
		jQuery('#frm').validationEngine('attach', {promptPosition : "centerRight"});
		
	});
</script>
<style>
fieldset.fifthy {	
	border-right: 0px;
	width: 50%;	
}
table.user td{
	vertical-align: top;
	padding-left: 5px;	   
}
</style>       
<script language="javascript">
      var temp=-1;
   
	function validateUser(field)
	{
		if(temp==1) return '* User type already exist!';
		else temp==-1;
	}
</script>
<div class="bg-form">
<form id="frm" action="<?php echo $form->getAction(); ?>" method="post" enctype="application/x-www-form-urlencoded">	
    <div id="wrapper">
	 <div id="bg-form" style="margin-bottom: 99px">
        <div class="row"  style=" width:100%; margin:0 auto" >
            <h2 style=" color: #38A3D6; border-bottom: 5px solid #38A3D6; padding: 12px 0px; margin: -10px 0px 15px 0px;">MODULE/CONTROLLER/ACTION</h2>
        </div>  
        <div class="row"  style=" width:100%; margin:0 auto" >
        </div><!-- /.row -->
        <div class="row" style=" width:100%; margin:0 auto">
		<table border="0" cellpadding="5" width="100%" style="margin:0 auto; font-size: 15px;">
					<tr class="height"> 
						<?php //echo $form->getElement('acl_id');?>
					<td><?php //echo "USER NAME FOR MODULE"?></td>
					<td><?php //echo $form->getElement('user_type_id');?></td>				
				</tr>
				<tr class="height">
					<td style="width: 150px;">Module Name</td>
					<td><?php echo $form->getElement('module');?></td>				
				</tr>
				<tr class="height">
					<td>Controller Name</td>
					<td><?php echo $form->getElement('controller');?></td>				
				</tr>
				<tr class="height">
					<td>Action Name</td>
					<td><?php echo $form->getElement('action');?></td>				
				</tr>
			</table>
	<div class="panel-buttom" style="float: right; margin: 15px 0px 4px 0px;">
		    <button type="submit" class="btn btn-small btn-primary" name="save">
		          <b><i class="icon-check"></i></b> &nbsp;
		        <?php echo $tr->translate('SAVE');?>
		    </button>												   						
		    <a href="<?php echo $cancel_url; ?>" class="btn btn-small btn-warning">
		         <b><i class="fa fa-times"></i></b> &nbsp;
		        <?php echo $tr->translate('CANCEL');?>
		    </a>
   </div>
		</div>
	</div>					
</form>
</div>